//
// Created by macrs on 2023/10/23.
//

#ifndef MDF_SPI_H
#define MDF_SPI_H

#include "mdf_api.h"

struct mdf_spi_bus_core
{
    struct mdf_dev core;
};

struct mdf_spi_dev_core
{
    struct mdf_dev core;
};

int mdf_spi_bus_core_register(struct mdf_spi_bus_core *spi_bus, const char *name, struct mdf_drv *drv);
int mdf_spi_dev_core_register(struct mdf_spi_dev_core *spi_dev, const char *name);

#endif //MDF_SPI_H
